package lu.med.praxiswahl.wahlumed.dao.beans.daointerface;

import java.util.List;

import javax.persistence.EntityManager;

import lu.med.praxiswahl.wahlumed.model.beans.ZytologyTBL;

/**
*
* @author Patrick kendzo
* Email: pkendzo@msn.com
*/
public interface ZytologyDAOInt {

    public void persist(ZytologyTBL todo);

    public void delete(Long todo);

    public void update(ZytologyTBL todo);

    public ZytologyTBL retrieveZytologyItemByID(Long id);

    public List<ZytologyTBL> retrieveZytologyItemsByCustomer(String matricule);
    
    public List<ZytologyTBL> getZytoItemWithoutRESULT();
    
    public List<ZytologyTBL> getZytoItemsOfINTERVAL(String fromDatum, String toDatum);
    
    public int getActualZytoNumberIndex(String year);
    
    public List<ZytologyTBL> getZytoItemSortedByNumber(String year);
    
    public boolean getPermission();
    public void setPermission(boolean value);
    public EntityManager getEntityManager();

}
